﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace WpfApplication1
{
    /// <summary>
    /// Interaction logic for WindowRacunovodja.xaml
    /// </summary>
    public partial class WindowRacunovodja : Window
    {
        public WindowRacunovodja()
        {
            InitializeComponent();
        }

        private void PosaljiIzvjestajButton_Click(object sender, RoutedEventArgs e)
        {
            weBRacunovodja.Navigate("https://mail.google.com");
        }

      

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            weBRacunovodja.Navigate("https://docs.google.com/document/d/199x491npHn_yzlFh_XkKbUP4yOjwkO3L8qHmgpLK6YU/edit?addon_store");/*
            Process wordProcess = new Process();
            try
            {
                OpenFileDialog f = new OpenFileDialog();
                if (f.ShowDialog() == true)
                { 
                }

            }
            catch (Exception)
            {
                throw;
            }
            
           // wordProcess.StartInfo.FileName = pathToYourDocument;
            wordProcess.StartInfo.UseShellExecute = true;
            wordProcess.Start();
        */
        }

        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            MainWindow m = new MainWindow();
            m.Show();
            this.Hide();
        }

     

        private void Grid_Loaded(object sender, RoutedEventArgs e)
        {
            webPlate.Navigate("https://docs.google.com/spreadsheets/d/1NMhCJsyfo7iSwnVhLKIEXi6lMbRgx4_SdlMh_6RQ-Wg/edit#gid=0");
        }

        private void Grid_Loaded_1(object sender, RoutedEventArgs e)
        {
            webRecep.Navigate("https://mail.google.com");
        }
    }
}
